<?php
class Soul_Request_Result_Json extends Soul_Request_Result_Base {

    public function execute(){
        $GLOBALS[RC]->getResponse()
                ->setContent(Soul_Util_Json::encode($this->getAllData()))
                ->flush()
                ->end();
    }
}